<html>
<script type="text/javascript">
    function search() {
    	var myTextField = document.getElementById('myText').value;
    	//alert(myTextField);
        Android.search(myTextField);
    }
</script>
<body>
<p> Nguyen thanh son </p>
name: <input type='text' id='myText' />

<INPUT TYPE="TEXT" NAME="name" id = "nameid"><BR><BR>
<input type="button" value="Submit" onClick = "search()" />

<p>
<div id = "mydiv"> son123 </div>
<p>Search</p>


<input type="button" value="Say hello" onClick="showAndroidToast('Hello Android!')" />

<script type="text/javascript">
    function showAndroidToast(toast) {
        Android.showToast(toast);
    }
</script>
<div id = "mydiv1"> son123 </div>
<img src="file:///android_asset/smileyguy.png" />
</body>
</html>